package proxy;

/**
 * Created by fengtingxin on 2020/2/26.
 */
public class JDKDog implements JDKAnimal {

    private String name;

    private String value;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public void sayHello(int name,int value) {
        System.out.println("sayHello");
        System.out.println("name is " + name + "value is "+ value) ;
    }


    @Override
    public void saySuccess() {
        System.out.println("saySuccess");

    }

    @Override
    public void sayError() {
        System.out.println("sayError");
    }
}
